package ru.paswd.marketprice.storage.receipt.api.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ReceiptSerialized {

    @JsonProperty("params")
    private String params;

    @JsonProperty("company")
    private Company company;

    @JsonProperty("items")
    private List<ReceiptItem> items;
}
